<!DOCTYPE html>
<html lang="en">
<!-- 工艺雕塑第一套 1-4 -->

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="../css/bootstrap4.5.min.css">
    <link rel="stylesheet" href="../css/swiper-bundle.min.css">
    <link rel="stylesheet" href="../css/public.css">
    <style>
        .img_collection_btn {
            display: flex;
            justify-content: center;
        }

        .img_collection_btn a:nth-child(2) p {
            margin-left: 20px;
        }

        .img_collection_ul {
            display: flex;
            flex-wrap: wrap;
            margin-top: 20px;
            animation: img_collection 2s ease;
        }

        @keyframes img_collection {
            0% {
                opacity: 0;
            }

            100% {
                opacity: 1;
            }
        }

        .img_collection_ul li {
            flex: 33.33333%;
            padding: 10px;
            transition: .5s ease-out;
        }

        .img_collection_list_box {
            padding: 16px;
        }

        .img_collection_list_box p {
            font-size: var(--f_text);
            line-height: var(--f_text);
            color: var(--c_text);
            display: -webkit-box;
            -webkit-box-orient: vertical;
            -webkit-line-clamp: 1;
            overflow: hidden;
            transition: 1s;
            margin: 15px 0 5px 0;
            text-align: center;
        }

        .img_collection_list_box_img img {
            width: 100%;
            height: 218px;
            transition: .5s ease-out;
        }

        .img_collection_list_box_img {
            overflow: hidden;

        }

        .img_collection_list_box:hover {
            box-shadow: 0 0 22px rgb(0 0 0 / 12%);

        }

        .img_collection_list_box:hover img {
            transform: scale(1.1);
        }

        @media screen and (max-width:768px) {
            .img_collection_ul li{
                flex: 50%;
                padding: 6;
            }
            .img_collection_list_box{
                padding: 0;
            }
            
            .img_collection_list_box_img img{
                height: 114px;
            }
            .img_collection_list_box p{
                margin: 6px 0;
            }
        .img_collection_list_box:hover {
            box-shadow: 0 0 0 rgb(0 0 0 / 12%);

        }

        .img_collection_list_box:hover img {
            transform: scale(1);
        }
        }
    </style>
    <script src="../js/jquery-3.5.1.min.js"></script>
    <script src="../js/bootstrap4.5.min.js"></script>
    <script src="../js/swiper-bundle.min.js"></script>

</head>

<body>
    <div class="img_collection layout1 title_left modular">
        <div class="public_width_page">
            <div class="img_collection_btn">
                <a href="">
                    <p class="button_small">雕塑系列</p>
                </a>
                <a href="">
                    <p class="button_small">石材系列</p>
                </a>
            </div>
            <ul class="img_collection_ul">
                <li>
                    <div class="img_collection_list_box">
                        <div class="img_collection_list_box_img">
                            <img src="../images/case_list_2_4.jpg" alt="">
                        </div>
                        <p>我们旅游规划做起</p>
                    </div>
                </li>
                <li>
                    <div class="img_collection_list_box">
                        <div class="img_collection_list_box_img">
                            <img src="../images/case_list_2_4.jpg" alt="">
                        </div>
                        <p>我们旅游规划做起</p>
                    </div>
                </li>
                <li>
                    <div class="img_collection_list_box">
                        <div class="img_collection_list_box_img">
                            <img src="../images/case_list_2_4.jpg" alt="">
                        </div>
                        <p>我们旅游规划做起</p>

                    </div>
                </li>
                <li>
                    <div class="img_collection_list_box">
                        <div class="img_collection_list_box_img">
                            <img src="../images/case_list_2_4.jpg" alt="">
                        </div>
                        <p>我们旅游规划做起</p>

                    </div>
                </li>
                <li>
                    <div class="img_collection_list_box">
                        <div class="img_collection_list_box_img">
                            <img src="../images/case_list_2_4.jpg" alt="">
                        </div>
                        <p>我们旅游规划做起</p>

                    </div>
                </li>
                <li>
                    <div class="img_collection_list_box">
                        <div class="img_collection_list_box_img">
                            <img src="../images/case_list_2_4.jpg" alt="">
                        </div>
                        <p>我们旅游规划做起</p>

                    </div>
                </li>
            </ul>
            <ul class="img_collection_ul" style="display: none;">
                <li>
                    <div class="img_collection_list_box">
                        <div class="img_collection_list_box_img">
                            <img src="../images/img_collection_13_4.webp" alt="">
                        </div>
                        <p>我们旅游规划做起</p>
                    </div>
                </li>
                <li>
                    <div class="img_collection_list_box">
                        <div class="img_collection_list_box_img">
                            <img src="../images/img_collection_13_4.webp" alt="">
                        </div>
                        <p>我们旅游规划做起</p>
                    </div>
                </li>
                <li>
                    <div class="img_collection_list_box">
                        <div class="img_collection_list_box_img">
                            <img src="../images/img_collection_13_4.webp" alt="">
                        </div>
                        <p>我们旅游规划做起</p>

                    </div>
                </li>
                <li>
                    <div class="img_collection_list_box">
                        <div class="img_collection_list_box_img">
                            <img src="../images/img_collection_13_4.webp" alt="">
                        </div>
                        <p>我们旅游规划做起</p>

                    </div>
                </li>
                <li>
                    <div class="img_collection_list_box">
                        <div class="img_collection_list_box_img">
                            <img src="../images/img_collection_13_4.webp" alt="">
                        </div>
                        <p>我们旅游规划做起</p>

                    </div>
                </li>
                <li>
                    <div class="img_collection_list_box">
                        <div class="img_collection_list_box_img">
                            <img src="../images/img_collection_13_4.webp" alt="">
                        </div>
                        <p>我们旅游规划做起</p>

                    </div>
                </li>
            </ul>
        </div>
    </div>

    <script>
        let imgCollUl = document.querySelectorAll('.img_collection_ul')
        let imgCollBtn = document.querySelectorAll('.button_small')
        for (let i = 0; i < imgCollBtn.length; i++) {
            imgCollBtn[i].onmouseover = function () {
                for (let j = 0; j < imgCollBtn.length; j++) {
                    imgCollUl[j].style.display = "none"
                }
                imgCollUl[i].style.display = "flex"
            }
        }
    </script>
</body>

</html>